package vo;

import po.GradeSetPO;
import java.io.Serializable;

import exception.InputNotRegularException;

public class GradeSetVO implements Serializable{
	private static final long serialVersionUID = -1842482321401695435L;
    GradeSetPO gradeSet;
	
	public GradeSetVO(){
		this.gradeSet=new GradeSetPO();
	}
	
	public GradeSetVO(GradeSetPO po){
		this.gradeSet=po;
	}
	
	public void setQuantity(int g1,int g2,int g3) throws InputNotRegularException{
		this.gradeSet.setQuantity(g1, g2, g3);
	}
	
	public  int  getPrimary(){
		return this.gradeSet.getPrimaryQuantity();
	}
	
	public int getJunior(){
		return this.gradeSet.getJuniorQuantity();
	}
	
	public int getSenior(){
		return this.gradeSet.getSeniorQuantity();
	}
	
	public int getGapOne(){
		return this.gradeSet.getGapOne();
	}
	
	public int getGapTwo(){
		return this.gradeSet.getGapTwo();
	}
}
